package com.example.pojo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.xml.validation.TypeInfoProvider;

/**
 * @Auther qiansu
 * @Date 2021/5/28 下午6:15
 **/
@Table(name="Order")
public class Order {

    private Integer id;

    @Column(name="product_id")
    private Integer product_id;

    @Column(name="seller_id")
    private Integer seller_id;

    private String address;

    @Column(name="post_code")
    private String post_code;

    @Column(name="create_time")
    private String create_time;

    private Integer amount;

    private String tel;

    @Column(name="user_id")
    private Integer user_id;

    @Column(name="pay_way")
    private String pay_way;

    @Column(name="transfer_way")
    private String transfer_way;

    private String receiver;

    private String remark;

    private Integer sta;

    public Integer getSta() {
        return sta;
    }

    public void setStatus(Integer sta) {
        this.sta = sta;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProduct_id() {
        return product_id;
    }

    public void setProduct_id(Integer product_id) {
        this.product_id = product_id;
    }

    public Integer getSeller_id() {
        return seller_id;
    }

    public void setSeller_id(Integer seller_id) {
        this.seller_id = seller_id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPost_code() {
        return post_code;
    }

    public void setPost_code(String post_code) {
        this.post_code = post_code;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getPay_way() {
        return pay_way;
    }

    public void setPay_way(String pay_way) {
        this.pay_way = pay_way;
    }

    public String getTransfer_way() {
        return transfer_way;
    }

    public void setTransfer_way(String transfer_way) {
        this.transfer_way = transfer_way;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
